Skip to content

Keep concurrent test runners from deleting each other’s fixtures - #519

Merged
SeanTAllen merged 1 commit into
mainfrom
isolate-test-directories
Nov 26, 2026
Merged

SeanTAllen merged 1 commit into
mainfrom
isolate-test-directories

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

Starting a second test runner in the same working directory could delete the first runner’s lockfile, even when the second runner only listed tests. Each filesystem test now claims its own directory. Listing tests leaves existing fixtures alone.

make test and .\make.ps1 test remove their own workspace after the test process exits, when Windows has closed the lockfiles. Running the test binary directly retains its fixtures under .pony_test for inspection.

Closes #516

Allocate a fresh directory for each filesystem test. The build scripts
clean up their own runs after the process exits, when Windows has closed
the lockfiles. Running the test binary directly leaves its fixtures
available for inspection.

Closes #516
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Nov 26, 2026
@SeanTAllen
SeanTAllen merged commit a6f03cd into main Nov 26, 2026
16 checks passed
@SeanTAllen
SeanTAllen deleted the isolate-test-directories branch November 26, 2026 04:28
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Starting a second test runner deletes the first runner’s test files

2 participants